import permissionsModule from "$lib/modules/permissions";

export async function GET({ params }) {  
  const permissions = await permissionsModule.getAll();
  return new Response(JSON.stringify(permissions));  
}